package com.psj.service;

import com.github.pagehelper.PageInfo;
import com.psj.bean.Main;
import com.psj.bean.Place;
import com.psj.bean.Stadium;
import com.psj.bean.Type;

import java.util.List;

public interface MainService {
    PageInfo<Main> list(Main main, Integer pageNum, Integer pageSize);

    List<Stadium> listStadium();

    List<Type> listType();

    List<Place> listPlace();

    int add(Main main);

    List<Main> getCallTj();
}
